package com.zs.blog.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Title: AuthorityLabelListVO
 * @Author zs
 * @Package com.zs.blog.model.vo
 * @Date 2025/9/2 21:55
 * @description: 系统资源权限标签列表视图对象
 */
@Data
public class AuthorityLabelListVO {
    @Schema(description = "权限ID")
    public Long id;

    @Schema(description = "权限描述")
    public String authorityDescription;

    @Schema(description = "子权限信息")
    public List<AuthorityLabelListVO> children;

    @Schema(description = "父 id，默认为 0,0表示顶层权限说明，不表示任何菜单权限")
    public Long parentId;

    @Schema(description = "菜单ID，系统资源权限所属菜单")
    public Long menuId;
}
